package com.wanghua.mall.ware.enums;

/**
 * 库存锁定状态的枚举类
 * 1-已锁定  2-已解锁  3-扣减
 *
 * @author wanghua
 * @create 2021-09-10 14:22
 */
public enum WareStockLockedEnum {
    LOCKED(1, "已锁定"),
    UNLOCKED(2, "已解锁"),
    FINISH_REDUCE(3,"扣减");
    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    WareStockLockedEnum(Integer code, String message) {

        this.code = code;
        this.message = message;
    }
}
